bin/server.exe:bin/Acceptor.o bin/KeyRecommander.o bin/Dictionary.o bin/EchoServer.o bin/EventLoop.o bin/InetAddress.o bin/Socket.o bin/TaskQueue.o bin/TcpConnection.o bin/TcpServer.o bin/TestEchoServer.o bin/ThreadPool.o bin/SocketIO.o bin/WebPageQuery.o bin/SloSplitTool.o bin/LRU.o bin/Redis.o
	g++ $^ -g -o $@ -lpthread -lhiredis
bin/KeyRecommander.o:src/KeyRecommander.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/Acceptor.o:src/Acceptor.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/Dictionary.o:src/Dictionary.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/EchoServer.o:src/EchoServer.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/EventLoop.o:src/EventLoop.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/InetAddress.o:src/InetAddress.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/Socket.o:src/Socket.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/TaskQueue.o:src/TaskQueue.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/TcpConnection.o:src/TcpConnection.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/TcpServer.o:src/TcpServer.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/TestEchoServer.o:src/TestEchoServer.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/ThreadPool.o:src/ThreadPool.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/SocketIO.o:src/SocketIO.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/WebPageQuery.o:src/WebPageQuery.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/SloSplitTool.o:src/SloSplitTool.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/LRU.o:src/LRU.cc
	g++ -c $^ -g -o $@ -Wall -I include
bin/Redis.o:src/Redis.cc
	g++ -c $^ -g -o $@ -Wall -I include